home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Plotting / aa_Intel_Only / Gnuplot / GnuplotSource / EditMatrix.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  873 b   |  37 lines

  1. /*
  2.  *  Copyright (C) 1993  Robert Davis
  3.  *
  4.  *  This program is free software; you can redistribute it and/or
  5.  *  modify it under the terms of Version 2, or any later version, of 
  6.  *  the GNU General Public License as published by the Free Software 
  7.  *  Foundation.
  8.  */
  9.  
  10. /* $Id: EditMatrix.h,v 1.4 1993/05/04 16:21:47 davis Exp $ */
  11.  
  12. #import <appkit/Matrix.h>
  13.  
  14. @class TextFieldCell;
  15.  
  16. @interface EditMatrix:Matrix
  17. {
  18.     BOOL    editableCells;    /* Edit cells with double click?    */
  19.     TextFieldCell *editingCell;    /* The cell being edited, if any    */
  20.  
  21. @private
  22.     int        selectedCount;
  23. }
  24.  
  25. - initFrame:(const NXRect *)frameRect;
  26.  
  27. - setEditableCells:(BOOL)aCond;
  28. - (BOOL)editableCells;
  29.  
  30. - mouseDown:(NXEvent *)theEvent;
  31. - textDidEnd:textObject endChar:(short unsigned)whyEnd;
  32.  
  33. - (BOOL)multipleCellsSelected;
  34. - selectedCell;        /* WARNING: This returns nil if multiple selection */
  35.  
  36. @end
  37.